<?php
/*** IMPORTANT: TO BE USED IN 'THE LOOP' ***/
$tumbnail= cl_get_the_post_thumbnail();
?>

<article class="post" id="<?php echo get_the_ID();?>">
	
	<div class="content preview">	
	
		<?php if(!empty($tumbnail)){?>
		<div class="alignleft topleftwide hide_for_mobile">
				<a href="<?php the_permalink(); ?>"><?php echo $tumbnail;?></a>
		</div>
		<?php } ?>
		
		<div class="excerpt m_block">
			<label class="alignright topright box small white soft hide_for_mobile publish_date"><?php echo cl_get_the_published_date(); ?></label>
			<h1><a class="topleftwide box m_block" href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
			<?php the_content($more_text);?>
			<label class="alignleft bottomleft box small white soft hide_for_tablet publish_date"><?php echo cl_get_the_published_date(); ?></label>						
		</div>
	
		<div class="clear"></div>
	</div>
	
	<footer class="hide_for_mobile">
		<ul>
			<li><?php echo cl_get_the_modified_date(true);?></li>	
		</ul>		
		<?php cl_template('social'); ?>
	</footer>
	
	<div class="clear"></div>
	
</article>
